<form name="deleteForm" (ngSubmit)="confirmDelete()">
    <div class="modal-header">
        <h4 class="modal-title">确认删除操作</h4>
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"
                (click)="clear()">&times;
        </button>
    </div>
    <div class="modal-body">
        <ngb-alert [dismissible]="false" type="warning" *ngIf="showAlert">
            <strong>账户删除成功！</strong> 您将在2秒内被重定向到首页。
        </ngb-alert>
        <jhi-alert-error></jhi-alert-error>
        <p>您确定要删除您的 <i>微服务代码模版</i> 账户吗？</p>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal" (click)="clear()">
            <fa-icon [icon]="'ban'"></fa-icon>&nbsp;<span>取消</span>
        </button>
        <button type="submit" class="btn btn-danger">
            <fa-icon [icon]="'times'"></fa-icon>&nbsp;<span>删除</span>
        </button>
    </div>
</form>
